﻿using System.Data.Entity.ModelConfiguration;

namespace BookShop.DTO.Mapping
{
    public class BookMap : EntityTypeConfiguration<Book>
    {
        public BookMap()
        {
            HasKey(s => s.Id);
            ToTable("Book");
        }
    }
}
